﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SampleWinProject
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void excelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Form form = new Office.frmExcel();
            //form.MdiParent = this;
            //form.Show();
           // form.Dispose();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void fSAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form form = new frmFSAInterface();
            form.MdiParent = this;
            form.Show();
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Form performance = new frmProference();
            performance.MdiParent = this;
            performance.Show();
        }

        private void viewASCIIToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form form = new frmViewASCII();
            form.MdiParent = this;
            form.Show();
           
        }

        private void rC4ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form form = new frmRC4Test();
            form.MdiParent = this;
            form.Show();
        }

        private void printerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var printer = new Printer.frmPrinter();
            printer.MdiParent = this;
            printer.Show();
        }
    }
}
